package com.homeparking.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.homeparking.common.annotation.Excel;
import com.homeparking.common.core.domain.BaseEntity;
import lombok.Data;
/**
 * 小区信息对象 manage_community
 * 
 * @author liuyangyang
 * @date 2025-10-23
 */
@Data
public class ManageCommunity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 小区ID */
    private String communityId;

    /** 小区名字 */
    @Excel(name = "小区名字")
    private String communityName;

    /** 所在省 */
    @Excel(name = "所在省")
    private String province;

    /** 所在市 */
    @Excel(name = "所在市")
    private String city;

    /** 所属开发商 */
    @Excel(name = "所属开发商")
    private String developerId;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 小区地址 */
    @Excel(name = "小区地址")
    private String address;

    /** 1删除 */
    private Long delFlag;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 开盘时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开盘时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    /** 交付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buildTime;

    /** 小区标签 */
    @Excel(name = "小区标签")
    private String tags;

    /** 小区类型 */
    @Excel(name = "小区类型")
    private String type;

    /** 物业 */
    @Excel(name = "物业")
    private String propertyManage;

    /** 所在区 */
    @Excel(name = "所在区")
    private String district;

    /** 所在街道 */
    @Excel(name = "所在街道")
    private String street;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("communityId", getCommunityId())
            .append("name", getCommunityName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("developerName", getDeveloperId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("address", getAddress())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("sort", getSort())
            .append("openTime", getOpenTime())
            .append("buildTime", getBuildTime())
            .append("tags", getTags())
            .append("type", getType())
            .append("propertyManage", getPropertyManage())
            .append("district", getDistrict())
            .append("street", getStreet())
            .toString();
    }
}
